package com.numbfish.mapper;

import com.numbfish.model.SysUser;

interface UserMapper {
    SysUser selectById(Long id);
    int insert(SysUser sysUser);
    int insertAutoId(SysUser sysUser);
    int updateById(SysUser sysUser);
    int deleteById(Long id);
    SysUser selectUserRoleById(Long id);
    // 5表连接查询用户角色与权限
    SysUser selectUserRolePrivilegeById(Long id);
}
